package String;

import java.util.Scanner;

public class stringBuffer {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        StringBuffer str = new StringBuffer();
        str.append("522124200309201211");
        System.out.println(str.toString());
        str.append("赵诚挚");
        System.out.println(str.toString());
        str.insert(18,"2210305341");
        System.out.println(str);
        int index = str.indexOf("2210305341");
        System.out.println(index);
    }
}
